Normal
Create normal map using greyscale value as height.
Node Data | |
|---|---|
Display name | |
Normal | |
Internal name | |
Node_Normal | |
Inheritances | |
| Node_Processor | |
| Node_Normal | |
Inputs | |
Node_Normal | |
surface |
Surface In |
float |
Height |
slider |
Smooth |
bool |
Flip X |
bool |
Flip Y |
bool |
Normalize |
bool |
Trim Flat |
Outputs | |
Node_Normal | |
surface |
Surface Out |
Attributes | |
| Color Depth | |
Normal map is a texture that describe a 3D normal vector. This node allows the genration of normal map from height map.

Smoothing
Toggle the Smooth properties to increase the sample amount.
Related Links
- Base Code: /scripts/node_normal/node_normal.gml
- Shader [sh_normal]: /shaders/sh_normal/sh_normal.fsh